package com.syt.client.order;

import com.syt.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @Author: xxx
 * @Date: 2023/3/2 20:03
 * @Description: 订单客户端
 */
@Service
@FeignClient("service-order")
@RequestMapping("/api/order/orderInfo")
public interface OrderFeignClient {


    //"获取订单统计数据"
    @PostMapping("/inner/getCountMap")
    public Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
